package com.lwlk.zdk.model.sys;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class sysUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public sysUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPlatformIdIsNull() {
            addCriterion("platform_id is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIsNotNull() {
            addCriterion("platform_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdEqualTo(Integer value) {
            addCriterion("platform_id =", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotEqualTo(Integer value) {
            addCriterion("platform_id <>", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThan(Integer value) {
            addCriterion("platform_id >", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_id >=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThan(Integer value) {
            addCriterion("platform_id <", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdLessThanOrEqualTo(Integer value) {
            addCriterion("platform_id <=", value, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdIn(List<Integer> values) {
            addCriterion("platform_id in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotIn(List<Integer> values) {
            addCriterion("platform_id not in", values, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdBetween(Integer value1, Integer value2) {
            addCriterion("platform_id between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andPlatformIdNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_id not between", value1, value2, "platformId");
            return (Criteria) this;
        }

        public Criteria andLoginNameIsNull() {
            addCriterion("login_name is null");
            return (Criteria) this;
        }

        public Criteria andLoginNameIsNotNull() {
            addCriterion("login_name is not null");
            return (Criteria) this;
        }

        public Criteria andLoginNameEqualTo(String value) {
            addCriterion("login_name =", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotEqualTo(String value) {
            addCriterion("login_name <>", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameGreaterThan(String value) {
            addCriterion("login_name >", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameGreaterThanOrEqualTo(String value) {
            addCriterion("login_name >=", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameLessThan(String value) {
            addCriterion("login_name <", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameLessThanOrEqualTo(String value) {
            addCriterion("login_name <=", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameLike(String value) {
            addCriterion("login_name like", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotLike(String value) {
            addCriterion("login_name not like", value, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameIn(List<String> values) {
            addCriterion("login_name in", values, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotIn(List<String> values) {
            addCriterion("login_name not in", values, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameBetween(String value1, String value2) {
            addCriterion("login_name between", value1, value2, "loginName");
            return (Criteria) this;
        }

        public Criteria andLoginNameNotBetween(String value1, String value2) {
            addCriterion("login_name not between", value1, value2, "loginName");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsIsNull() {
            addCriterion("platform_ids is null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsIsNotNull() {
            addCriterion("platform_ids is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsEqualTo(Integer value) {
            addCriterion("platform_ids =", value, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsNotEqualTo(Integer value) {
            addCriterion("platform_ids <>", value, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsGreaterThan(Integer value) {
            addCriterion("platform_ids >", value, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsGreaterThanOrEqualTo(Integer value) {
            addCriterion("platform_ids >=", value, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsLessThan(Integer value) {
            addCriterion("platform_ids <", value, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsLessThanOrEqualTo(Integer value) {
            addCriterion("platform_ids <=", value, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsIn(List<Integer> values) {
            addCriterion("platform_ids in", values, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsNotIn(List<Integer> values) {
            addCriterion("platform_ids not in", values, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsBetween(Integer value1, Integer value2) {
            addCriterion("platform_ids between", value1, value2, "platformIds");
            return (Criteria) this;
        }

        public Criteria andPlatformIdsNotBetween(Integer value1, Integer value2) {
            addCriterion("platform_ids not between", value1, value2, "platformIds");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdIsNull() {
            addCriterion("role_type_id is null");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdIsNotNull() {
            addCriterion("role_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdEqualTo(Integer value) {
            addCriterion("role_type_id =", value, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdNotEqualTo(Integer value) {
            addCriterion("role_type_id <>", value, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdGreaterThan(Integer value) {
            addCriterion("role_type_id >", value, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("role_type_id >=", value, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdLessThan(Integer value) {
            addCriterion("role_type_id <", value, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("role_type_id <=", value, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdIn(List<Integer> values) {
            addCriterion("role_type_id in", values, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdNotIn(List<Integer> values) {
            addCriterion("role_type_id not in", values, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("role_type_id between", value1, value2, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andRoleTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("role_type_id not between", value1, value2, "roleTypeId");
            return (Criteria) this;
        }

        public Criteria andLoginFlagIsNull() {
            addCriterion("login_flag is null");
            return (Criteria) this;
        }

        public Criteria andLoginFlagIsNotNull() {
            addCriterion("login_flag is not null");
            return (Criteria) this;
        }

        public Criteria andLoginFlagEqualTo(String value) {
            addCriterion("login_flag =", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagNotEqualTo(String value) {
            addCriterion("login_flag <>", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagGreaterThan(String value) {
            addCriterion("login_flag >", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagGreaterThanOrEqualTo(String value) {
            addCriterion("login_flag >=", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagLessThan(String value) {
            addCriterion("login_flag <", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagLessThanOrEqualTo(String value) {
            addCriterion("login_flag <=", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagLike(String value) {
            addCriterion("login_flag like", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagNotLike(String value) {
            addCriterion("login_flag not like", value, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagIn(List<String> values) {
            addCriterion("login_flag in", values, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagNotIn(List<String> values) {
            addCriterion("login_flag not in", values, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagBetween(String value1, String value2) {
            addCriterion("login_flag between", value1, value2, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andLoginFlagNotBetween(String value1, String value2) {
            addCriterion("login_flag not between", value1, value2, "loginFlag");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andBindingIpIsNull() {
            addCriterion("binding_ip is null");
            return (Criteria) this;
        }

        public Criteria andBindingIpIsNotNull() {
            addCriterion("binding_ip is not null");
            return (Criteria) this;
        }

        public Criteria andBindingIpEqualTo(String value) {
            addCriterion("binding_ip =", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpNotEqualTo(String value) {
            addCriterion("binding_ip <>", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpGreaterThan(String value) {
            addCriterion("binding_ip >", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpGreaterThanOrEqualTo(String value) {
            addCriterion("binding_ip >=", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpLessThan(String value) {
            addCriterion("binding_ip <", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpLessThanOrEqualTo(String value) {
            addCriterion("binding_ip <=", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpLike(String value) {
            addCriterion("binding_ip like", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpNotLike(String value) {
            addCriterion("binding_ip not like", value, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpIn(List<String> values) {
            addCriterion("binding_ip in", values, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpNotIn(List<String> values) {
            addCriterion("binding_ip not in", values, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpBetween(String value1, String value2) {
            addCriterion("binding_ip between", value1, value2, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andBindingIpNotBetween(String value1, String value2) {
            addCriterion("binding_ip not between", value1, value2, "bindingIp");
            return (Criteria) this;
        }

        public Criteria andAccessCodeIsNull() {
            addCriterion("access_code is null");
            return (Criteria) this;
        }

        public Criteria andAccessCodeIsNotNull() {
            addCriterion("access_code is not null");
            return (Criteria) this;
        }

        public Criteria andAccessCodeEqualTo(String value) {
            addCriterion("access_code =", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeNotEqualTo(String value) {
            addCriterion("access_code <>", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeGreaterThan(String value) {
            addCriterion("access_code >", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeGreaterThanOrEqualTo(String value) {
            addCriterion("access_code >=", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeLessThan(String value) {
            addCriterion("access_code <", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeLessThanOrEqualTo(String value) {
            addCriterion("access_code <=", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeLike(String value) {
            addCriterion("access_code like", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeNotLike(String value) {
            addCriterion("access_code not like", value, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeIn(List<String> values) {
            addCriterion("access_code in", values, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeNotIn(List<String> values) {
            addCriterion("access_code not in", values, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeBetween(String value1, String value2) {
            addCriterion("access_code between", value1, value2, "accessCode");
            return (Criteria) this;
        }

        public Criteria andAccessCodeNotBetween(String value1, String value2) {
            addCriterion("access_code not between", value1, value2, "accessCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeIsNull() {
            addCriterion("identification_code is null");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeIsNotNull() {
            addCriterion("identification_code is not null");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeEqualTo(String value) {
            addCriterion("identification_code =", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeNotEqualTo(String value) {
            addCriterion("identification_code <>", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeGreaterThan(String value) {
            addCriterion("identification_code >", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeGreaterThanOrEqualTo(String value) {
            addCriterion("identification_code >=", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeLessThan(String value) {
            addCriterion("identification_code <", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeLessThanOrEqualTo(String value) {
            addCriterion("identification_code <=", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeLike(String value) {
            addCriterion("identification_code like", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeNotLike(String value) {
            addCriterion("identification_code not like", value, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeIn(List<String> values) {
            addCriterion("identification_code in", values, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeNotIn(List<String> values) {
            addCriterion("identification_code not in", values, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeBetween(String value1, String value2) {
            addCriterion("identification_code between", value1, value2, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andIdentificationCodeNotBetween(String value1, String value2) {
            addCriterion("identification_code not between", value1, value2, "identificationCode");
            return (Criteria) this;
        }

        public Criteria andATestBatchIsNull() {
            addCriterion("a_test_batch is null");
            return (Criteria) this;
        }

        public Criteria andATestBatchIsNotNull() {
            addCriterion("a_test_batch is not null");
            return (Criteria) this;
        }

        public Criteria andATestBatchEqualTo(String value) {
            addCriterion("a_test_batch =", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchNotEqualTo(String value) {
            addCriterion("a_test_batch <>", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchGreaterThan(String value) {
            addCriterion("a_test_batch >", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchGreaterThanOrEqualTo(String value) {
            addCriterion("a_test_batch >=", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchLessThan(String value) {
            addCriterion("a_test_batch <", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchLessThanOrEqualTo(String value) {
            addCriterion("a_test_batch <=", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchLike(String value) {
            addCriterion("a_test_batch like", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchNotLike(String value) {
            addCriterion("a_test_batch not like", value, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchIn(List<String> values) {
            addCriterion("a_test_batch in", values, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchNotIn(List<String> values) {
            addCriterion("a_test_batch not in", values, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchBetween(String value1, String value2) {
            addCriterion("a_test_batch between", value1, value2, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andATestBatchNotBetween(String value1, String value2) {
            addCriterion("a_test_batch not between", value1, value2, "aTestBatch");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitIsNull() {
            addCriterion("software_development_unit is null");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitIsNotNull() {
            addCriterion("software_development_unit is not null");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitEqualTo(String value) {
            addCriterion("software_development_unit =", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitNotEqualTo(String value) {
            addCriterion("software_development_unit <>", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitGreaterThan(String value) {
            addCriterion("software_development_unit >", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitGreaterThanOrEqualTo(String value) {
            addCriterion("software_development_unit >=", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitLessThan(String value) {
            addCriterion("software_development_unit <", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitLessThanOrEqualTo(String value) {
            addCriterion("software_development_unit <=", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitLike(String value) {
            addCriterion("software_development_unit like", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitNotLike(String value) {
            addCriterion("software_development_unit not like", value, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitIn(List<String> values) {
            addCriterion("software_development_unit in", values, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitNotIn(List<String> values) {
            addCriterion("software_development_unit not in", values, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitBetween(String value1, String value2) {
            addCriterion("software_development_unit between", value1, value2, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andSoftwareDevelopmentUnitNotBetween(String value1, String value2) {
            addCriterion("software_development_unit not between", value1, value2, "softwareDevelopmentUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitIsNull() {
            addCriterion("technical_support_unit is null");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitIsNotNull() {
            addCriterion("technical_support_unit is not null");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitEqualTo(String value) {
            addCriterion("technical_support_unit =", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitNotEqualTo(String value) {
            addCriterion("technical_support_unit <>", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitGreaterThan(String value) {
            addCriterion("technical_support_unit >", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitGreaterThanOrEqualTo(String value) {
            addCriterion("technical_support_unit >=", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitLessThan(String value) {
            addCriterion("technical_support_unit <", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitLessThanOrEqualTo(String value) {
            addCriterion("technical_support_unit <=", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitLike(String value) {
            addCriterion("technical_support_unit like", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitNotLike(String value) {
            addCriterion("technical_support_unit not like", value, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitIn(List<String> values) {
            addCriterion("technical_support_unit in", values, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitNotIn(List<String> values) {
            addCriterion("technical_support_unit not in", values, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitBetween(String value1, String value2) {
            addCriterion("technical_support_unit between", value1, value2, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andTechnicalSupportUnitNotBetween(String value1, String value2) {
            addCriterion("technical_support_unit not between", value1, value2, "technicalSupportUnit");
            return (Criteria) this;
        }

        public Criteria andLastPositionIsNull() {
            addCriterion("last_position is null");
            return (Criteria) this;
        }

        public Criteria andLastPositionIsNotNull() {
            addCriterion("last_position is not null");
            return (Criteria) this;
        }

        public Criteria andLastPositionEqualTo(String value) {
            addCriterion("last_position =", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionNotEqualTo(String value) {
            addCriterion("last_position <>", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionGreaterThan(String value) {
            addCriterion("last_position >", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionGreaterThanOrEqualTo(String value) {
            addCriterion("last_position >=", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionLessThan(String value) {
            addCriterion("last_position <", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionLessThanOrEqualTo(String value) {
            addCriterion("last_position <=", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionLike(String value) {
            addCriterion("last_position like", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionNotLike(String value) {
            addCriterion("last_position not like", value, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionIn(List<String> values) {
            addCriterion("last_position in", values, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionNotIn(List<String> values) {
            addCriterion("last_position not in", values, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionBetween(String value1, String value2) {
            addCriterion("last_position between", value1, value2, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLastPositionNotBetween(String value1, String value2) {
            addCriterion("last_position not between", value1, value2, "lastPosition");
            return (Criteria) this;
        }

        public Criteria andLinkmanIsNull() {
            addCriterion("linkman is null");
            return (Criteria) this;
        }

        public Criteria andLinkmanIsNotNull() {
            addCriterion("linkman is not null");
            return (Criteria) this;
        }

        public Criteria andLinkmanEqualTo(String value) {
            addCriterion("linkman =", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotEqualTo(String value) {
            addCriterion("linkman <>", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanGreaterThan(String value) {
            addCriterion("linkman >", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanGreaterThanOrEqualTo(String value) {
            addCriterion("linkman >=", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanLessThan(String value) {
            addCriterion("linkman <", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanLessThanOrEqualTo(String value) {
            addCriterion("linkman <=", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanLike(String value) {
            addCriterion("linkman like", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotLike(String value) {
            addCriterion("linkman not like", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanIn(List<String> values) {
            addCriterion("linkman in", values, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotIn(List<String> values) {
            addCriterion("linkman not in", values, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanBetween(String value1, String value2) {
            addCriterion("linkman between", value1, value2, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotBetween(String value1, String value2) {
            addCriterion("linkman not between", value1, value2, "linkman");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("account is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("account is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(String value) {
            addCriterion("account =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(String value) {
            addCriterion("account <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(String value) {
            addCriterion("account >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(String value) {
            addCriterion("account >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(String value) {
            addCriterion("account <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(String value) {
            addCriterion("account <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLike(String value) {
            addCriterion("account like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotLike(String value) {
            addCriterion("account not like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<String> values) {
            addCriterion("account in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<String> values) {
            addCriterion("account not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(String value1, String value2) {
            addCriterion("account between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(String value1, String value2) {
            addCriterion("account not between", value1, value2, "account");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}